//
//  PayMethodViewCell.m
//  ForestPack
//
//  Created by 骆锴 on 2018/8/10.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import "PayMethodViewCell.h"

@interface PayMethodViewCell ()

@property(nonatomic,strong)UILabel *payMethod;

@end

@implementation PayMethodViewCell

+ (PayMethodViewCell *)cellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath{
    static NSString *cellID = @"PayMethodViewCell";
    PayMethodViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
    if (cell == nil) {
        cell = [[PayMethodViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellID];
        cell.backgroundColor = [UIColor whiteColor];
        [cell createSubView];
    }
    
    return cell;
}

-(void)createSubView{
    _payMethod =[[UILabel alloc] initWithFrame:CGRectMake(ScreenX375(45), ScreenX375(18), ScreenX375(80), ScreenX375(14))];
    _payMethod.text = @"微信支付";
    _payMethod.font = Kfont(14);
    _payMethod.textColor = REXADECIMALCOLOR(@"#333333");
    _payMethod.textAlignment = NSTextAlignmentLeft;
    [self addSubview:_payMethod];
    
    
}
@end
